﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.WindowsAzure.StorageClient;
using Microsoft.WindowsAzure;

namespace ConverterWebRole
{
    class ImageDataContext : TableServiceContext
    {
        public ImageDataContext(string ba, StorageCredentials sc) : base(ba, sc)
        {

        }

        public IQueryable<ImageEntity> Images
        {
            get
            {
                return this.CreateQuery<ImageEntity>("images");
            }
        }
    }


}